package com.akk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan("com.akk.*")
@ComponentScan(basePackageClasses = AvsConfig.class)
@ServletComponentScan
@EnableCaching
@EnableSwagger2
@EnableTransactionManagement
public class AvsConfig {
    public static void main(String[] args) {
        SpringApplication.run(AvsConfig.class, args);
    }
}
